package com.ruoyi.goods.controller;

import com.ruoyi.goods.pojo.Results;
import com.ruoyi.goods.service.CarInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("api/carInfo")
public class CarInfoController {
    @Autowired
    private CarInfoService carInfoService;

    @RequestMapping("findCarPage")
    public Results findCarPage(){
        return carInfoService.findCarPage();
    }
}
